package com.bestcem.xm.ticket.enums;

import lombok.Getter;

/**
 * 项目状态枚举
 *
 * @author gy.liu
 * @version 1.0
 * @date 2021/8/30 14:54
 **/
@Getter
public enum ProjectStatusEnum {
    /**
     * 未发布
     */
    CREATED(0, "未发布"),

    /**
     * 收集中
     */
    ACTIVATED(1, "收集中"),

    /**
     * 已结束
     */
    FINISHED(2, "已结束"),

    /**
     * 已删除
     */
    DELETED(3, "已删除"),

    /**
     * 彻底删除
     */
    DELETED2(4, "彻底删除");

    private final String name;

    private final Integer index;

    ProjectStatusEnum(Integer index, String name) {
        this.name = name;
        this.index = index;
    }
}
